<div class="mb-3">
    <a class="btn btn-sm {if $ac=='index'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('photo')}">最新相册</a>
    {if $ac=='album' && $ts=='user'}
    <a class="btn btn-sm btn-outline-secondary" href="{tsUrl('photo','album',array(ts=>user,userid=>$userid))}">{$title}</a>
    {/if}


</div>
<hr />